package com.zb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author WEN
 * @Date 2023/9/13 0013
 **/
@Data
@ApiModel("费用项目")
public class SelectFeeProjectVo extends SelectResultVo{
    @ApiModelProperty(value = "是否允许更改费用：false-不允许，true-允许")
    private boolean updatePrice;

    @ApiModelProperty(value = "费用项目价格")
    private BigDecimal price;

    public SelectFeeProjectVo() {
    }

    public SelectFeeProjectVo(Long id, String name, BigDecimal price, boolean updatePrice) {
        super(id, name);
        this.price = price;
        this.updatePrice = updatePrice;
    }
}
